package com.lieve.bpm.command;

/**
 * @author sunyoboy
 * 2021/5/24
 */
public class ConcreteCommand implements Command {
    CommandReceiver commandReceiver;

    public ConcreteCommand(CommandReceiver commandReceiver) {
        this.commandReceiver = commandReceiver;
    }

    @Override
    public void execute() {
        commandReceiver.action();
    }
}
